package com.ruoyi.factory.erp.mapper;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.factory.erp.domain.CusMaterial;

import java.util.List;

/**
 * @ClassName CusMaterialMapper
 * @Description: TODO 客户物料mapper
 * @Author LiuJiaji
 * @Date 2023/10/8 10:57
 **/
@DataSource(value = DataSourceType.SLAVE)
public interface CusMaterialMapper {

    //查询所有 code=1
    public List<CusMaterial> selectAllByCode();

    // 更新所有code=1 为规格
    public void updateCodebyMate(CusMaterial cusMaterial);

}
